﻿using System;
using System.Collections.Generic;

namespace Dominio.Core.Business.Repository {
    public interface IRepository<T> where T : class {
        void Add(T entity);
        void Delete(T entity);
        T GetById(long id);
        IList<T> GetAll();
        void Change(T entity);
        void Save();
    }
}
